package com.free.mini.core.serve.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.free.mini.core.serve.entity.BannerConfig;
import com.free.mini.core.server.vo.req.BannerConfigCreateReqVO;
import com.free.mini.core.server.vo.req.BannerConfigQueryReqVO;
import com.free.mini.core.server.vo.req.BannerConfigUpdateReqVO;
import com.free.mini.core.server.vo.resp.BannerConfigQueryRespVO;

import java.util.List;

/**
 * banner Service接口
 *
 * @author dongsufeng
 * @date 2023-08-22 15:17:42
 */
public interface IBannerConfigService extends IService<BannerConfig> {
    /**
     * 查询（分页）
     *
     * @return IPage<BannerConfig>
     */
    Page<BannerConfigQueryRespVO> findBannerConfigs(BannerConfigQueryReqVO reqVO);

    /**
     * 新增
     *
     * @param bannerConfig bannerConfig
     */
    Boolean createBannerConfig(BannerConfigCreateReqVO bannerConfig);

    /**
     * 修改
     *
     * @param bannerConfig bannerConfig
     */
    Boolean updateBannerConfig(BannerConfigUpdateReqVO bannerConfig);

    Boolean delete(List<String> ids);

}
